<div class="contents">
  <ol class="breadcrumb">
    <li><a href="#/index/panel">首页</a></li>
    <li><a href="#/neworder/chanping/myorder/back/list?m=03">我的后端订单列表</a></li>
    <li class="active">{{item.oPName}}</li>
    <li class="active">订单详情</li>
  </ol> 
  
  <form class="form-horizontal" role="form" name="form" ng-submit="save()" novalidate>
  <table class="table table-striped table-bordered">
    <tbody> 
      <tr>
        <td width="140">订单ID</td> <td width="400">{{item.id}}</td>
        <td width="140">订单号</td> <td width="400">{{item.oCode}}</td>
       </tr>
     
      <tr>
        <td >订单金额</td> <td >{{item.oAmount | moneyRender2}}</td> 
        <td>当前状态</td> <td class="order-status-{{item.oBackStatus}}" >{{item.oBackStatus | orderStatusRender}}</td> 
      </tr>
      <tr>
        <td >产品简称</td> <td ><a href="#/product/view?id={{item.oProjectId}}">{{item.oPName}}</a></td>
        <td>理财师FAID</td><td >{{item.oFAId}}</td>
      </tr>
      <tr>
         <td>客户姓名</td> <td >{{item.oCName}}</td>
         <td>预约时间</td> <td >{{item.createDate | date:'yyyy-MM-dd HH:mm'}}</td>
      </tr>

      <tr>
        <td>预约成功时间</td> <td >{{item.yuYueChengGongDate | date:'yyyy-MM-dd HH:mm'}}</td> 
        <td>操作人</td> <td >{{item.yuYueChengGongBy}}</td> 
      </tr>
      <tr>
        <td>合同寄出时间</td> <td >{{item.heTongJiChuDate | date:'yyyy-MM-dd HH:mm'}}</td> 
        <td>操作人</td> <td >{{item.heTongJiChuBy}}</td> 
      </tr>
      <tr>
        <td>签约打款时间</td> <td >{{item.qianYueDaKuanDate | date:'yyyy-MM-dd HH:mm'}}</td> 
        <td>操作人</td> <td >{{item.qianYueDaKuanBy}}</td> 
      </tr>
      <tr>
        <td>确认到款时间</td> <td >{{item.queRenDaKuanDate | date:'yyyy-MM-dd HH:mm'}}</td> 
        <td>操作人</td> <td >{{item.queRenDaKuanBy}}</td> 
      </tr>
      <tr>
        <td>佣金到账时间</td> <td >{{item.yongJinDaoZhangDate | date:'yyyy-MM-dd HH:mm'}}</td> 
        <td>操作人</td> <td >{{item.yongJinDaoZhangBy}}</td> 
      </tr>
      <tr>
        <td>财务结佣时间</td> <td >{{item.caiWuJieYongDate | date:'yyyy-MM-dd HH:mm'}}</td> 
        <td>操作人</td> <td >{{item.caiWuJieYongBy}}</td> 
      </tr>
      <tr>
        <td>确认返佣时间</td> <td >{{item.queRenFanYongDate | date:'yyyy-MM-dd HH:mm'}}</td> 
        <td>操作人</td> <td >{{item.queRenFanYongBy}}</td> 
      </tr>
      <tr>
        <td>确认提交有效合同</td> <td >{{item.queRenHeTongDate | date:'yyyy-MM-dd HH:mm'}}</td> 
        <td>操作人</td> <td >{{item.queRenHeTongBy}}</td> 
      </tr>
      <tr>
        <td>后端佣金到账时间</td> <td >{{item.houDuanYongJinDaoZhangDate | date:'yyyy-MM-dd HH:mm'}}</td> 
        <td>操作人</td> <td >{{item.houDuanYongJinDaoZhangBy}}</td> 
      </tr>
      <tr>
        <td>后端财务结佣时间</td> <td >{{item.houDuanCaiWuJieYongDate | date:'yyyy-MM-dd HH:mm'}}</td> 
        <td>操作人</td> <td >{{item.houDuanCaiWuJieYongBy}}</td> 
      </tr>
      <tr>
        <td>后端确认返佣时间</td> <td >{{item.houDuanQueRenFanYongDate | date:'yyyy-MM-dd HH:mm'}}</td> 
        <td>操作人</td> <td >{{item.houDuanQueRenFanYongBy}}</td> 
      </tr>
      
      <tr>
        <td>结束交易时间</td> <td >{{item.jieShuJiaoYiDate | date:'yyyy-MM-dd HH:mm'}}</td> 
        <td>操作人</td> <td >{{item.jieShuJiaoYiBy}}</td> 
      </tr>
      <tr>
        <td>机构价</td> <td >{{item.oSellingPrice | profitRender}}</td> 
        <td>后端机构价</td> <td >{{item.oBackSellingPrice| profitRender}}</td> 
      </tr>
      <tr>
        <td>渠道核心返佣额</td> <td >{{item.oSellingRebate | moneyRender2:1:1}}</td> 
        <td>后端渠道核心返佣额</td> <td >{{item.oBackSellingRebate | moneyRender2:1:1}}</td> 
      </tr>
      <tr>
        <td>挂网价</td> <td >{{item.oRebateRate | profitRender}}</td> 
        <td>后端挂网价</td> <td >{{item.oBackRebateRate| profitRender}}</td> 
      </tr>
      <tr>
        <td>挂网返佣额</td> <td >{{item.oRebateAmount | moneyRender2:1:1}} </td> 
        <td>后端挂网返佣额</td> <td >{{item.oBackRebateAmount | moneyRender2:1:1}}</td> 
      </tr>
      <tr >
        <td>成交价</td> <td >{{item.oTransactionPrice | profitRender}}</td> 
        <td>后端成交价</td> <td >{{item.oBackTransactionPrice | profitRender}}</td> 
      </tr>
      <tr>
          <td>成交返佣额</td> 
          <td >{{item.oTransactionRebate | moneyRender2:1:1}}</td>
          <td>后端成交返佣额</td> 
          <td >{{item.oBackTransactionRebate | moneyRender2:1:1}}</td> 
      </tr>

     <tr>
        <td>打款人</td> <td >{{item.upstreamHitman}}</td> 
        <td>打款账号</td> <td >{{item.upstreamHitmanNum}}</td> 
      </tr>


      <tr>
        <td>寄出合同编号</td> <td >{{item.sendContractNum}}</td> 
        <td>收回合同编号</td> <td >{{item.receiveContractNum}}</td> 
      </tr>

      <tr>
        <td>结佣额(上游/单位：元)</td> <td >{{item.confirmForntAmount | moneyRender2:1:1}}</td> 
        <td>后端结佣额(上游/单位：元)</td> 
        <td ng-if="item.oBackStatus == '241'">
            <input type="number" class="form-control" ng-class="{'new-error-css':form.confirmBackAmount.$invalid}" name="confirmBackAmount" placeholder="后端结佣额" ng-model="item.confirmBackAmount"  required="required" >
        </td>
        <td ng-if="item.oBackStatus != '241' ">{{item.confirmBackAmount | moneyRender2:1:1}}</td> 
      </tr>
 

      <tr>
        <td>其他结款额(上游/单位：元)</td> <td >{{item.confirmOtherAmount | moneyRender2:1:1}}</td> 
        <td>其他结款说明(上游)</td> <td >{{item.comfirmOtherSectionDesc}}</td> 
      </tr>
      
      <tr>
        <td>财务前端结佣</td> <td >{{item.oFinanceFrontRebate | moneyRender2:1:1}}</td> 
        <td>财务后端结佣</td> <td >{{item.oFinanceBackRebate | moneyRender2:1:1}}</td> 
      </tr>
        <tr>
        <td>活动打款(财务/单位：元)</td> <td >{{item.oActivityAmount | moneyRender2:1:1}}</td> 
        <td>活动打款说明(财务)</td> <td >{{item.oPlaySectionDesc}}</td> 
      </tr>
      <tr>
        <td>其他打款额(财务/单位：元)</td> <td >{{item.oFinanceOtherAmount | moneyRender2:1:1}}</td> 
        <td>其他打款额说明(财务)</td> <td >{{item.oFinancOtherAmountDesc}}</td> 
      </tr>
      <tr>
        <td>上传合同凭证</td> 
        <td >
            <input type="text" class="form-control"  placeholder="上传合同凭证" id="advertLinkInput" name="oFrontContractDocument" ng-model="item.oFrontContractDocument" readonly="true"  >
        </td>
        <td ><div class="btn btn-primary add-pic-btn" disabled="disabled" >上传图片</div></td>      
         <td ></td> 
      </tr>
      <tr>
        <td>前端结佣方式</td>
        <td>{{item.oRebateType | oRebateTypeRender}}{{item.oYouDanRebateType | oRebateTypeRender}}</td>
        <td>后端结佣方式</td>
        <td>{{item.oBackRebateType | oRebateTypeRender}}</td>
      </tr>
      <tr>
        <td>前端线下打款银行</td>
        <td>{{item.oRebateBankId}}</td>
        <td>后端线下打款银行</td>
        <td>{{item.oBackRebateBankId}}</td>
      </tr>
      <tr>
        <td>前端线下打款姓名</td>
        <td>{{item.oRebateBankCardHolder}}</td>
        <td>后端线下打款姓名</td>
        <td>{{item.oBackRebateBankCardHolder}}</td>
      </tr>
      <tr>
        <td>前端线下打款银行号</td>
        <td>{{item.oRebateBankCardNumber}}</td>
        <td>后端线下打款银行号</td>
        <td>{{item.oBackRebateBankCardNumber}}</td>
      </tr>
      <tr ng-if="item.oYouDanRebateType == 1">
        <td>用户自提状态</td>
        <td>{{item.oYouDanOperateType | operateTypeModelRenter}}</td>
        <td></td>
        <td></td>
      </tr>
      <tr ng-if="item.oRebateType == 1 || item.oBackRebateType == 1">
        <td><span ng-if="item.oRebateType == 1">前端用户自提状态</span></td>
        <td><span ng-if="item.oRebateType == 1">{{item.oRebateOperateType | operateTypeModelRenter}}</span></td>
        <td><span ng-if="item.oBackRebateType == 1">后端用户自提状态</span></td>
        <td><span ng-if="item.oBackRebateType == 1">{{item.oBackRebateOperateType | operateTypeModelRenter}}</span></td>
      </tr>
      <tr>
        <td>结款类型</td> <td >{{item.oKnotType | oKnotTypeRender}}</td> 
        <td>订单备注</td> <td >{{item.oRemark}}</td> 
      </tr>
      <tr>
        <td>订单是否有效</td> 
        <td class="order-defriend-status-{{item.oDefriendStatus}}" colspan="3">{{item.oDefriendStatus | orderDefriendStatusRender}}(百万冲十亿活动状态)</td> 
        
      </tr>
      

      <tr><td>相关操作</td><td colspan="3">
          <div  class="btn btn-primary"  ng-click="backRabite()" ng-if="item.oBackStatus == '241'">佣金到账(后)</div>
          <div  class="btn btn-primary" disabled="disabled" ng-click="backFinance()" ng-if="item.oBackStatus == '311'">财务结佣(后)</div>
          <div  class="btn btn-warning" disabled="disabled" ng-click="comfirmBackRabite()" ng-if="item.oBackStatus == '321'">确认返佣(后)</div>
      </td></tr>
    </tbody>
  </table> 
  </form>
</div>
<div load-script src="'/static/jquery.jUploader-1.01.js?7'" call-back="" charset="utf-8" ></div>

